<script setup lang="ts">
function onClick() {
  console.log('Button clicked!');
}
</script>

<template>
  <div>
    <h1>Welcome to Your Vue.js App</h1>
    <p>You can start building your application here.</p>

    <!-- Example component -->
    <StarButton label="按钮" @click="onClick">
      <template #prefix>
        <span class="text-red-500">!</span>
      </template>
    </StarButton>
  </div>
</template>
